<include file="Public:header" />
<div class="container main"> <include file="Public:left" />
  <div class="w790">
    <style type="text/css">
    	#mission{text-align:center}
		#mission a{padding:5px 8px; margin:1px; background:#eee;}
		#mission span.current{padding:5px 8px; margin:1px; background:#F2F130; color:#fff;}
    </style>
<script src="__PUBLIC__/Js/validform/Validform.js"></script>
    <script>	
		$(function(){
			//使表单有验证功能
			$(".checkoutform:eq(0)").Validform({
				tiptype:3
			});
		});
		
    </script>
    <div id="mission"><span><a href="{:U('index')}" id="allMission">所有任务</a></span><span><a href="#" id="myMission">我的任务</a></span></div>
    <h1><a href="{:U('index')}">返回列表</a></h1>
    <form class="checkoutform" action="{:U('update')}" method="post">
      <input type="hidden" name="is_list" value="1" />
      <div class="table_">
        <form id="dataform" action="{:U('update')}" method="post" class="checkoutform">
                    <table class="table table-bordered">
                    	<tr><input style="display:none;" name="id" value="{$mission.id}"/>
                        	<td width="112">任务名：</td>
                            <td width="367">{$mission.title}</td>
                        </tr>
                    	<tr>
                        	<td>任务详述：</td>
                            <td>{$mission.detail}</td>
                        </tr>
                    	<tr>
                        	<td colspan="2">{$res}</td>
                        </tr>
                    	<tr>
                        	<td>任务状态：</td>
                            <td>
                            	<if condition="($mission.state eq 1)">待审核
                                <elseif condition="($mission.state eq 2)"/>处理中
                                <else/>已完成
                                </if>   
                             </td>
                        </tr>
                        <tr>
                        	<td>备注信息<br/></td>
                        	<td><textarea disabled="disabled" name="comment" id="comment" nullmsg="请录入备注信息" style="height: 85px; width: 358px;">{$schedule.comment}</textarea></td>
                        </tr>
                        
                    </table>
      </div>
      <!--扩展结束-->
      <div class="pages">
       
      </div>
    </form>
  </div>
  <div class="clear"></div>
</div>
<include file="Public:footer" />